package com.ruoyi.business.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 车牌识别对象 wx_car_device
 * 
 * @author asher
 * @date 2022-05-23
 */
public class WxCarDevice extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 人脸设备ID */
    private Long carDeviceId;

    /** 设备名称 */
    @Excel(name = "设备名称")
    private String name;

    /** SN CODE */
    @Excel(name = "SN CODE")
    private String sn;

    /** 小区ID */
    @Excel(name = "小区ID")
    private Long villageId;

    /** 小区名称 */
    @Excel(name = "小区名称")
    private String villageName;

    /** 绑定车牌数 */
    @Excel(name = "绑定车牌数")
    private Long count;

    /** 设备类型 */
    @Excel(name = "设备类型")
    private String deviceType;

    /** 海康设备编号 */
    @Excel(name = "海康设备编号")
    private String hikDeviceNum;

    /** 海康设备密钥 */
    @Excel(name = "海康设备密钥")
    private String hikDevicePassword;

    /** AC 索引 */
    @Excel(name = "AC 索引")
    private String hikDeviceIndex;

    public void setCarDeviceId(Long carDeviceId) 
    {
        this.carDeviceId = carDeviceId;
    }

    public Long getCarDeviceId() 
    {
        return carDeviceId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setSn(String sn) 
    {
        this.sn = sn;
    }

    public String getSn() 
    {
        return sn;
    }
    public void setVillageId(Long villageId) 
    {
        this.villageId = villageId;
    }

    public Long getVillageId() 
    {
        return villageId;
    }
    public void setVillageName(String villageName) 
    {
        this.villageName = villageName;
    }

    public String getVillageName() 
    {
        return villageName;
    }
    public void setCount(Long count) 
    {
        this.count = count;
    }

    public Long getCount() 
    {
        return count;
    }
    public void setDeviceType(String deviceType) 
    {
        this.deviceType = deviceType;
    }

    public String getDeviceType() 
    {
        return deviceType;
    }
    public void setHikDeviceNum(String hikDeviceNum) 
    {
        this.hikDeviceNum = hikDeviceNum;
    }

    public String getHikDeviceNum() 
    {
        return hikDeviceNum;
    }
    public void setHikDevicePassword(String hikDevicePassword) 
    {
        this.hikDevicePassword = hikDevicePassword;
    }

    public String getHikDevicePassword() 
    {
        return hikDevicePassword;
    }
    public void setHikDeviceIndex(String hikDeviceIndex) 
    {
        this.hikDeviceIndex = hikDeviceIndex;
    }

    public String getHikDeviceIndex() 
    {
        return hikDeviceIndex;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("carDeviceId", getCarDeviceId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("name", getName())
            .append("sn", getSn())
            .append("villageId", getVillageId())
            .append("villageName", getVillageName())
            .append("count", getCount())
            .append("deviceType", getDeviceType())
            .append("hikDeviceNum", getHikDeviceNum())
            .append("hikDevicePassword", getHikDevicePassword())
            .append("hikDeviceIndex", getHikDeviceIndex())
            .toString();
    }
}
